package com.ruoyi.statistics.api;

import com.ruoyi.common.core.constant.ServiceNameConstants;
import com.ruoyi.users.domain.CfUser;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

@Component
@FeignClient(contextId = "ICfUserService", value = ServiceNameConstants.USER_SERVICE)
public interface UserService {

    @GetMapping("/user/list/date")
    List<CfUser> selectCfUserListByDate(CfUser cfUser);

}
